home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / updates / update24.zoo / test / diffs next >
Text File  |  1992-08-14  |  4KB  |  187 lines

  1. *** 1.1    1992/04/19 17:06:14
  2. --- Changelo    1992/08/14 17:16:17
  3. ***************
  4. *** 3,5 ****
  5. --- 3,18 ----
  6.       in doprnt.c
  7.   
  8.   ----------------------  Patchlevel 03 --------------------------------------
  9. + tstdio.c:: ++jrb
  10. +     in the fully buffered test, we did'nt account for the `\r' introduced
  11. +     by putc'ing `\n'.
  12. + trdwr.c:: ++jrb
  13. +     on a wr ("w+")  stream doing a reversal of direction without an
  14. +     intervening fseek() is not guaranteed to do anything sensible.
  15. +     this test was failing on all machines i could try it on
  16. +     (sun, hp, dec, mips, atari) for this reason. inserted a fseek()
  17. +     to current position between getc()/putc() reversal.
  18. + ----------------------  Patchlevel 04 --------------------------------------
  19. *** 1.1    1992/03/26 21:49:31
  20. --- Makefile.hp    1992/08/14 17:16:17
  21. ***************
  22. *** 5,11 ****
  23.   #
  24.   SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
  25.   tscanf.c tsetjm.c tsignl.c tstdio.c tstring.c tstrl1.c \
  26. ! tstrl2.c ttime.c
  27.   
  28.   .SUFFIXES: .ttp
  29.   
  30. --- 5,11 ----
  31.   #
  32.   SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
  33.   tscanf.c tsetjm.c tsignl.c tstdio.c tstring.c tstrl1.c \
  34. ! tstrl2.c ttime.c tstrtoul.c  twrseek.c
  35.   
  36.   .SUFFIXES: .ttp
  37.   
  38. *** 1.1    1992/03/26 21:49:31
  39. --- Makefile.sun    1992/08/14 17:16:18
  40. ***************
  41. *** 3,9 ****
  42.   #    half the tests can be done because there are no ANSI libs
  43.   #
  44.   SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
  45. ! tscanf.c tsetjm.c tsignl.c tstdio.c 
  46.   
  47.   
  48.   .SUFFIXES: .ttp
  49. --- 3,9 ----
  50.   #    half the tests can be done because there are no ANSI libs
  51.   #
  52.   SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
  53. ! tscanf.c tsetjm.c tsignl.c tstdio.c   twrseek.c
  54.   
  55.   
  56.   .SUFFIXES: .ttp
  57. *** 1.1    1992/03/26 21:49:31
  58. --- Makefile.tos    1992/08/14 17:16:18
  59. ***************
  60. *** 1,6 ****
  61.   SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
  62.   tregex.c tscanf.c tsetjm.c tsignl.c tstdio.c tstring.c tstrl1.c \
  63. ! tstrl2.c ttime.c
  64.   
  65.   .SUFFIXES: .ttp
  66.   
  67. --- 1,6 ----
  68.   SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
  69.   tregex.c tscanf.c tsetjm.c tsignl.c tstdio.c tstring.c tstrl1.c \
  70. ! tstrl2.c ttime.c tstrtoul.c twrseek.c
  71.   
  72.   .SUFFIXES: .ttp
  73.   
  74. *** 1.3    1992/04/19 17:06:14
  75. --- PatchLev.h    1992/08/14 17:16:18
  76. ***************
  77. *** 1,5 ****
  78.   
  79. ! #define    PatchLevel "03"
  80.   
  81.   /*
  82.    *
  83. --- 1,5 ----
  84.   
  85. ! #define    PatchLevel "04"
  86.   
  87.   /*
  88.    *
  89. *** 1.1    1992/03/26 21:49:31
  90. --- tbcopy.c    1992/08/14 17:16:19
  91. ***************
  92. *** 53,67 ****
  93.   }
  94.   
  95.   
  96.   int
  97.   main(int argc, char **argv)
  98.   {
  99. -     unsigned char bigo[0x20000];
  100.   
  101. -     unsigned char ahull[LEN + 4], *arry;
  102. -     unsigned char bhull[LEN + 4], *brry;
  103.       long i;
  104.       int  k;
  105.   
  106.       for (i = 0; i < 0x20000; i++) {
  107.       bigo[i] = i & 0xff;
  108. --- 53,69 ----
  109.   }
  110.   
  111.   
  112. + unsigned char bigo[0x20000];
  113. + unsigned char ahull[LEN + 4];
  114. + unsigned char bhull[LEN + 4];
  115.   int
  116.   main(int argc, char **argv)
  117.   {
  118.   
  119.       long i;
  120.       int  k;
  121. +     unsigned char *arry, *brry;
  122.   
  123.       for (i = 0; i < 0x20000; i++) {
  124.       bigo[i] = i & 0xff;
  125. *** 1.1    1992/03/26 21:49:31
  126. --- trdwr.c    1992/08/14 17:16:20
  127. ***************
  128. *** 21,26 ****
  129. --- 21,27 ----
  130.   #include <stdlib.h>
  131.   #include <string.h>
  132.   #include <errno.h>
  133. + #include <unistd.h>
  134.   
  135.   #ifndef FILENAME_MAX
  136.   #define FILENAME_MAX 256
  137. ***************
  138. *** 89,94 ****
  139. --- 90,96 ----
  140.         }
  141.     }
  142.   
  143. +   fseek(f, 0L, SEEK_CUR);
  144.     {
  145.       long int where = ftell(f);
  146.       if (where == replace_from)
  147. *** 1.2    1992/03/27 05:10:03
  148. --- tstdio.c    1992/08/14 17:16:21
  149. ***************
  150. *** 139,145 ****
  151.   #endif
  152.       setvbuf(fp, (char *) 0, _IOFBF, 4);
  153.       puts("<pause>ABCD<pause>EFGH<pause>");
  154. !     puts("ABC<pause>DEFG<pause>H");
  155.       for (i = 0; i < 8; i++)
  156.         putc('A'+i, fp), sleep(1);
  157.       putc('\n', fp);
  158. --- 139,152 ----
  159.   #endif
  160.       setvbuf(fp, (char *) 0, _IOFBF, 4);
  161.       puts("<pause>ABCD<pause>EFGH<pause>");
  162. ! #ifdef atarist
  163. !     /* in text mode when we putc('\n', fp) we add a '\r' so we are off
  164. !        by one char
  165. !      */
  166. !     puts("AB<pause>CDEF<pause>GH<pause>");
  167. ! #else
  168. !     puts("ABC<pause>DEFG<pause>H<pause>");
  169. ! #endif
  170.       for (i = 0; i < 8; i++)
  171.         putc('A'+i, fp), sleep(1);
  172.       putc('\n', fp);
  173. ***************
  174. *** 146,151 ****
  175. --- 153,159 ----
  176.       for (i = 0; i < 8; i++)
  177.         putc('A'+i, fp), sleep(1);
  178.       fclose(fp);
  179. +     sleep(2);
  180.       puts("");
  181.     }
  182.   }
  183.